package com.ficus.road.maintain.core.model;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;

/**
 * @Author jinbiao.he
 * @Since 2021/4/7 下午8:36
 */
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class RecordGps {
    @Id
    private String carId;
    private Double longitude;
    private Double latitude;
    private Double altitude;
    private Long timestamp;
    private Integer speed;
    private Integer direction;
    private String plate;
    private String creationTime;
}
